﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DongFangGuoKai.WMSPlatform.Core.Migrations
{
    public partial class M6 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "OutBoundNo",
                table: "t_ShippingOrderDetail",
                type: "nvarchar(200)",
                nullable: false,
                defaultValue: "");

            migrationBuilder.AddColumn<string>(
                name: "CustomerName",
                table: "t_ShippingLockCell",
                type: "nvarchar(100)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CustomerPhone",
                table: "t_ShippingLockCell",
                type: "nvarchar(50)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "WindowCode",
                table: "t_ShippingLockCell",
                type: "nvarchar(50)",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "Laboratory",
                table: "t_ReceivingBillDetail",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "PositionType",
                table: "t_ReceivingBillDetail",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "SampleSize",
                table: "t_ReceivingBillDetail",
                type: "nvarchar(50)",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "SampleTypeCode",
                table: "t_ReceivingBillDetail",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "SampleWeight",
                table: "t_ReceivingBillDetail",
                type: "nvarchar(50)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CustomerName",
                table: "t_ReceivingBill",
                type: "nvarchar(100)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CustomerPhone",
                table: "t_ReceivingBill",
                type: "nvarchar(50)",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "SampleTotalCount",
                table: "t_ReceivingBill",
                type: "int",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "OutBoundNo",
                table: "t_ShippingOrderDetail");

            migrationBuilder.DropColumn(
                name: "CustomerName",
                table: "t_ShippingLockCell");

            migrationBuilder.DropColumn(
                name: "CustomerPhone",
                table: "t_ShippingLockCell");

            migrationBuilder.DropColumn(
                name: "WindowCode",
                table: "t_ShippingLockCell");

            migrationBuilder.DropColumn(
                name: "Laboratory",
                table: "t_ReceivingBillDetail");

            migrationBuilder.DropColumn(
                name: "PositionType",
                table: "t_ReceivingBillDetail");

            migrationBuilder.DropColumn(
                name: "SampleSize",
                table: "t_ReceivingBillDetail");

            migrationBuilder.DropColumn(
                name: "SampleTypeCode",
                table: "t_ReceivingBillDetail");

            migrationBuilder.DropColumn(
                name: "SampleWeight",
                table: "t_ReceivingBillDetail");

            migrationBuilder.DropColumn(
                name: "CustomerName",
                table: "t_ReceivingBill");

            migrationBuilder.DropColumn(
                name: "CustomerPhone",
                table: "t_ReceivingBill");

            migrationBuilder.DropColumn(
                name: "SampleTotalCount",
                table: "t_ReceivingBill");
        }
    }
}
